Generalized Gray codes with prescribed ends

نویسندگان

  • Tomás Dvorák
  • Petr Gregor
  • Václav Koubek
چکیده

An n-bit Gray code is a sequence of all n-bit vectors such that consecutive vectors differ in a single bit. It is well-known that given α, β ∈ {0, 1}, an n-bit Gray code between α and β exists iff the Hamming distance d(α, β) of α and β is odd. We generalize this classical result to k pairwise disjoint pairs αi, βi ∈ {0, 1}: if d(αi, βi) is odd for all i and k < n, then the set of all n-bit vectors can be partitioned into k sequences such that the i-th sequence leads from αi to βi and consecutive vectors differ in a single bit. This holds for every n > 1 with one exception in the case when n = k + 1 = 4. Our result is optimal in the sense that for every n > 2 there are n pairwise disjoint pairs αi, βi ∈ {0, 1} with d(αi, βi) odd for which such sequences do not exist.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Generalized Gray codes with prescribed ends of small dimensions

Given pairwise distinct vertices {αi, βi}ki=1 of the n-dimensional hypercube Qn such that the distance d(αi, βi) is odd, are there paths Pi between αi and βi such that {V (Pi)}ki=1 partitions V (Qn)? A positive solution for every n ≥ 1 and k = 1 is known as a Gray code of dimension n. In this paper we settle this problem for small values of n. As a corollary, we obtain that such spanning paths ...

متن کامل

On Z2k-Dual Binary Codes

A new generalization of the Gray map is introduced. The new generalization Φ : Z 2 → Z k−1 n 2 is connected with the known generalized Gray map φ in the following way: if we take two dual linear Z2k -codes and construct binary codes from them using the generalizations φ and Φ of the Gray map, then the weight enumerators of the binary codes obtained will satisfy the MacWilliams identity. The cla...

متن کامل

The structure of single-track Gray codes

Single-track Gray codes are cyclic Gray codes with codewords of length n, such that all the n tracks which correspond to the n distinct coordinates of the codewords are cyclic shifts of the first track. We investigate the structure of such binary codes and show that there is no such code with 2n codewords when n is a power of 2. This implies that the known codes with 2n 2n codewords, when n is ...

متن کامل

Gray Images of Constacyclic Codes over some Polynomial Residue Rings

Let  be the quotient ring    where  is the finite field of size   and  is a positive integer. A Gray map  of length  over  is a special map from  to ( . The Gray map   is said to be a ( )-Gray map if the image of any -constacyclic code over    is a -constacyclic code over the field   . In this paper we investigate the existence of   ( )-Gray maps over . In this direction, we find an equivalent ...

متن کامل

A general construction of Reed-Solomon codes based on generalized discrete Fourier transform

In this paper, we employ the concept of the Generalized Discrete Fourier Transform, which in turn relies on the Hasse derivative of polynomials, to give a general construction of Reed-Solomon codes over Galois fields of characteristic not necessarily co-prime with the length of the code. The constructed linear codes  enjoy nice algebraic properties just as the classic one.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 668  شماره 

صفحات  -

تاریخ انتشار 2017